<html>
<head><meta charset="utf-8"><title>can&#x27;t build on windows · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/can&#x27;t.20build.20on.20windows.html">can&#x27;t build on windows</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="206926530"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/can%27t%20build%20on%20windows/near/206926530" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/can&#x27;t.20build.20on.20windows.html#206926530">(Aug 14 2020 at 13:01)</a>:</h4>
<blockquote>
<p>$ cargo xtask install<br>
error: failed to read <code>C:\projects\test\rust-analyzer\crates\ra_hir\Cargo.toml</code></p>
</blockquote>



<a name="206926597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/can%27t%20build%20on%20windows/near/206926597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/can&#x27;t.20build.20on.20windows.html#206926597">(Aug 14 2020 at 13:02)</a>:</h4>
<p>On 1ec23e7d</p>



<a name="206926627"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/can%27t%20build%20on%20windows/near/206926627" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/can&#x27;t.20build.20on.20windows.html#206926627">(Aug 14 2020 at 13:02)</a>:</h4>
<p>Deleted my <code>target/</code> dir just in case but no <span aria-label="dice" class="emoji emoji-1f3b2" role="img" title="dice">:dice:</span></p>



<a name="206926675"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/can%27t%20build%20on%20windows/near/206926675" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/can&#x27;t.20build.20on.20windows.html#206926675">(Aug 14 2020 at 13:03)</a>:</h4>
<p>I had to <code>rm -rf crates/ra_syntax/</code> because of some leftover files from when I played with the fuzzer</p>



<a name="206926695"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/can%27t%20build%20on%20windows/near/206926695" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/can&#x27;t.20build.20on.20windows.html#206926695">(Aug 14 2020 at 13:03)</a>:</h4>
<p>Do you have something in <code>crates\ra_hir</code>?</p>



<a name="206926852"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/can%27t%20build%20on%20windows/near/206926852" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/can&#x27;t.20build.20on.20windows.html#206926852">(Aug 14 2020 at 13:05)</a>:</h4>
<p>I do</p>



<a name="206926945"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/can%27t%20build%20on%20windows/near/206926945" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/can&#x27;t.20build.20on.20windows.html#206926945">(Aug 14 2020 at 13:06)</a>:</h4>
<p>Try nuking it</p>



<a name="206927535"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/can%27t%20build%20on%20windows/near/206927535" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/can&#x27;t.20build.20on.20windows.html#206927535">(Aug 14 2020 at 13:13)</a>:</h4>
<p>That fixed it</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>